#ifndef LIST_H_
#define LIST_H_

#include "element.h"
#include "types.h"

struct list * create();
void freeFIFO(struct list*);
int is_empty (struct list *);
struct list * push(struct list *, thread_t);
thread_t pop(struct list *);
int delete_thread(struct list *);
int kill_thread(struct list*, int);
int remove_thread(struct list*, int);
void debug_list(struct list *);
int isIn(struct list *, int);
#endif
